package com.dmwork.service.interaction.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dmwork.service.interaction.entity.CmsExcellentWork;
import com.dmwork.service.interaction.entity.vo.CmsExcellentWorkVo;

import java.util.List;

public interface CmsExcellentWorkService extends IService<CmsExcellentWork> {
    /**
     * 根据id获取指定优秀作品信息
     * @param id
     * @return
     */
    CmsExcellentWorkVo getExcellentWorkById(String id);

    /**
     * 获取优秀作品列表
     * @return
     */
    List<CmsExcellentWorkVo> getExcellentWorkList();
}
